function count(count = 1, action) {
    switch (action.type) {
        case "count_add":
            return count + 1;
        default:
            return count;
    }
}

export default count;
